﻿using MengLin.OOP.DesignPattern.Proxy.AOP.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MengLin.OOP.DesignPattern.Proxy.AOP
{
    /// <summary>
    /// 男人用户服务
    /// </summary>
    public class ManUserService : IUserService
    {
        /// <summary>
        /// 注册用户
        /// </summary>
        /// <param name="user"></param>
        public void RegUser(User user)
        {
            Console.WriteLine("男用户已注册。Name:{0},PassWord:{1}", user.Name, user.Password);
        }
    }
}
